
//
//  ClearBtn.m
//  app001
//
//  Created by xionghao on 15/10/4.
//  Copyright © 2015年 xionghao. All rights reserved.
//

#import "ClearBtn.h"

@implementation ClearBtn

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(CGRect)imageRectForContentRect:(CGRect)contentRect{
    return CGRectMake((contentRect.size.width-15)/2, (contentRect.size.height-15)/2, 15, 15);
}
@end
